package com.ruoyi.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动与自选标签的关联对象 app_medium_activity_tag
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public class AppMediumActivityTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 活动ID（关联app_activities表的activity_id） */
    @Excel(name = "活动ID", readConverterExp = "关=联app_activities表的activity_id")
    private Long activityId;

    /** 标签ID（关联app_activity_tags表的tag_id） */
    @Excel(name = "标签ID", readConverterExp = "关=联app_activity_tags表的tag_id")
    private Long tagId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("tagId", getTagId())
            .toString();
    }
}
